net/http.Header.Set (method)
81 uses
net/http (current package)
client.go#L251: req.Header.Set("Authorization", "Basic "+basicAuth(username, password))
client.go#L695: req.Header.Set("Referer", ref)
client.go#L797: ireqhdr.Set("Cookie", strings.Join(ss, "; "))
client.go#L863: req.Header.Set("Content-Type", contentType)
fs.go#L157: w.Header().Set("Content-Type", "text/html; charset=utf-8")
fs.go#L295: w.Header().Set("Content-Type", ctype)
fs.go#L326: w.Header().Set("Content-Range", fmt.Sprintf("bytes */%d", size))
fs.go#L360: w.Header().Set("Content-Range", ra.contentRange(size))
fs.go#L367: w.Header().Set("Content-Type", "multipart/byteranges; boundary="+mw.Boundary())
fs.go#L391: w.Header().Set("Accept-Ranges", "bytes")
fs.go#L419: w.Header().Set("Content-Length", strconv.FormatInt(sendSize, 10))
fs.go#L618: w.Header().Set("Last-Modified", modtime.UTC().Format(TimeFormat))
fs.go#L781: w.Header().Set("Location", newPath)
h2_bundle.go#L6096: rp.header.Set("Cookie", strings.Join(cookies, "; "))
header.go#L39: func (h Header) Set(key, value string) {
request.go#L476: r.Header.Set("Cookie", c+"; "+s)
request.go#L478: r.Header.Set("Cookie", s)
request.go#L1032: r.Header.Set("Authorization", "Basic "+basicAuth(username, password))
server.go#L565: w.Header().Set("Connection", "close")
server.go#L2148: w.Header().Set("Connection", "close")
server.go#L2249: h.Set("Content-Type", "text/plain; charset=utf-8")
server.go#L2250: h.Set("X-Content-Type-Options", "nosniff")
server.go#L2341: h.Set("Location", hexEscapeNonASCII(url))
server.go#L2343: h.Set("Content-Type", "text/html; charset=utf-8")
server.go#L2632: w.Header().Set("Allow", strings.Join(allowedMethods, ", "))
server.go#L2736: w.Header().Set("Connection", "close")
server.go#L3781: w.Header().Set("Content-Length", "0")
transport.go#L1770: h.Set("Proxy-Authorization", pa)
transport.go#L1791: hdr.Set("Proxy-Authorization", pa)
transport.go#L2702: req.extraHeaders().Set("Accept-Encoding", "gzip")
transport.go#L2713: req.extraHeaders().Set("Connection", "close")
github.com/coinbase/cdp-sdk/go
cdp.go#L73: req.Header.Set("Authorization", fmt.Sprintf("Bearer %s", jwt))
cdp.go#L74: req.Header.Set("Content-Type", "application/json")
cdp.go#L123: req.Header.Set("X-Wallet-Auth", walletJwt)
github.com/coinbase/cdp-sdk/go/openapi
client.gen.go#L8468: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L8479: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L8673: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L8684: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L8780: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L8791: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L8846: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L8857: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L8953: req.Header.Set("X-Idempotency-Key", headerParam0)
client.gen.go#L9015: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L9026: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L9088: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L9099: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L9161: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L9172: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L9234: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L9245: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L9307: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L9318: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L9380: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L9391: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L9551: req.Header.Set("X-Idempotency-Key", headerParam0)
client.gen.go#L9728: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L9739: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L9873: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L9884: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L9993: req.Header.Set("X-Idempotency-Key", headerParam0)
client.gen.go#L10004: req.Header.Set("X-Wallet-Auth", headerParam1)
client.gen.go#L10154: req.Header.Set("X-Idempotency-Key", headerParam0)
client.gen.go#L10624: req.Header.Set("X-Idempotency-Key", headerParam0)
client.gen.go#L10673: req.Header.Set("X-Idempotency-Key", headerParam0)
client.gen.go#L10769: req.Header.Set("X-Idempotency-Key", headerParam0)
client.gen.go#L10889: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L10900: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L10996: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L11007: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L11062: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L11073: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L11128: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L11139: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L11235: req.Header.Set("X-Idempotency-Key", headerParam0)
client.gen.go#L11297: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L11308: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L11370: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L11381: req.Header.Set("X-Idempotency-Key", headerParam1)
client.gen.go#L11443: req.Header.Set("X-Wallet-Auth", headerParam0)
client.gen.go#L11454: req.Header.Set("X-Idempotency-Key", headerParam1)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |